package com.hyh.cart.result;

import lombok.Data;

@Data
public class PageResult {
    private Object data;
    private Integer code;//返回请求的状态
    private  String msg;//返回请求的信息

    public PageResult() {

    }

    public PageResult(Integer code, Object data ) {
        this.data = data;
        this.code = code;
    }

    public PageResult(Integer code, Object data, String msg) {
        this.data = data;
        this.code = code;
        this.msg = msg;
    }
}
